
package com.spss.scoring.schema.v2.jaxb;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for wellKnownMetricIdType.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="wellKnownMetricIdType">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
 *     &lt;enumeration value="SERVICE_TOTAL_SCORES"/>
 *     &lt;enumeration value="SERVICE_UPTIME"/>
 *     &lt;enumeration value="CONFIGURATION_CACHE_HITS"/>
 *     &lt;enumeration value="CONFIGURATION_CACHE_MISSES"/>
 *     &lt;enumeration value="CONFIGURATION_COMPUTATION_TIME_MINIMUM"/>
 *     &lt;enumeration value="CONFIGURATION_COMPUTATION_TIME_AVERAGE"/>
 *     &lt;enumeration value="CONFIGURATION_COMPUTATION_TIME_MAXIMUM"/>
 *     &lt;enumeration value="CONFIGURATION_COMPUTATION_WAIT_TIME_MINIMUM"/>
 *     &lt;enumeration value="CONFIGURATION_COMPUTATION_WAIT_TIME_AVERAGE"/>
 *     &lt;enumeration value="CONFIGURATION_COMPUTATION_WAIT_TIME_MAXIMUM"/>
 *     &lt;enumeration value="CONFIGURATION_DATA_ACCESS_TIME_MINIMUM"/>
 *     &lt;enumeration value="CONFIGURATION_DATA_ACCESS_TIME_AVERAGE"/>
 *     &lt;enumeration value="CONFIGURATION_DATA_ACCESS_TIME_MAXIMUM"/>
 *     &lt;enumeration value="CONFIGURATION_DATA_INIT_TIME_MINIMUM"/>
 *     &lt;enumeration value="CONFIGURATION_DATA_INIT_TIME_AVERAGE"/>
 *     &lt;enumeration value="CONFIGURATION_DATA_INIT_TIME_MAXIMUM"/>
 *     &lt;enumeration value="CONFIGURATION_LOG_QUEUE_TIME_MINIMUM"/>
 *     &lt;enumeration value="CONFIGURATION_LOG_QUEUE_TIME_AVERAGE"/>
 *     &lt;enumeration value="CONFIGURATION_LOG_QUEUE_TIME_MAXIMUM"/>
 *     &lt;enumeration value="CONFIGURATION_LOG_SERIALIZE_TIME_MINIMUM"/>
 *     &lt;enumeration value="CONFIGURATION_LOG_SERIALIZE_TIME_AVERAGE"/>
 *     &lt;enumeration value="CONFIGURATION_LOG_SERIALIZE_TIME_MAXIMUM"/>
 *     &lt;enumeration value="CONFIGURATION_RESPONSE_TIME_MINIMUM"/>
 *     &lt;enumeration value="CONFIGURATION_RESPONSE_TIME_AVERAGE"/>
 *     &lt;enumeration value="CONFIGURATION_RESPONSE_TIME_MAXIMUM"/>
 *     &lt;enumeration value="CONFIGURATION_TOTAL_SCORES"/>
 *     &lt;enumeration value="CONFIGURATION_UPTIME"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "wellKnownMetricIdType")
@XmlEnum
public enum WellKnownMetricIdType {


    /**
     * Total number of scores produced by all configurations.
     * 
     */
    SERVICE_TOTAL_SCORES,

    /**
     * Amount of time, measured in seconds, that the scoring service has been available for scoring.
     * 
     */
    SERVICE_UPTIME,

    /**
     * Number of successful attempts to retrieve data from the memory cache for a scoring configuration
     * 
     */
    CONFIGURATION_CACHE_HITS,

    /**
     * Number of failed attempts to retrieve data from the memory cache for a scoring configuration. Each failed attempt results in a new service call to retrieve the necessary data.
     * 
     */
    CONFIGURATION_CACHE_MISSES,

    /**
     * The minimum amount of time that the score provider worker spends computing the score.
     * 
     */
    CONFIGURATION_COMPUTATION_TIME_MINIMUM,

    /**
     * The average amount of time that the score provider worker spends computing the score.
     * 
     */
    CONFIGURATION_COMPUTATION_TIME_AVERAGE,

    /**
     * The maximum amount of time that the score provider worker spends computing the score.
     * 
     */
    CONFIGURATION_COMPUTATION_TIME_MAXIMUM,

    /**
     * The minimum amount of time that the score provider worker spends waiting for the data service.
     * 
     */
    CONFIGURATION_COMPUTATION_WAIT_TIME_MINIMUM,

    /**
     * The average amount of time that the score provider worker spends waiting for the data service.
     * 
     */
    CONFIGURATION_COMPUTATION_WAIT_TIME_AVERAGE,

    /**
     * The maximum amount of time that the score provider worker spends waiting for the data service.
     * 
     */
    CONFIGURATION_COMPUTATION_WAIT_TIME_MAXIMUM,

    /**
     * The minimum amount of time that the data service takes to access its data.
     * 
     */
    CONFIGURATION_DATA_ACCESS_TIME_MINIMUM,

    /**
     * The average amount of time that the data service takes to access its data.
     * 
     */
    CONFIGURATION_DATA_ACCESS_TIME_AVERAGE,

    /**
     * The maximum amount of time that the data service takes to access its data.
     * 
     */
    CONFIGURATION_DATA_ACCESS_TIME_MAXIMUM,

    /**
     * The minimum amount of time that the data service takes to be initialized.
     * 
     */
    CONFIGURATION_DATA_INIT_TIME_MINIMUM,

    /**
     * The average amount of time that the data service takes to be initialized.
     * 
     */
    CONFIGURATION_DATA_INIT_TIME_AVERAGE,

    /**
     * The maximum amount of time that the data service takes to be initialized.
     * 
     */
    CONFIGURATION_DATA_INIT_TIME_MAXIMUM,

    /**
     * The minimum amount of time it takes to place the XML logging data onto the JMS queue (assuming logging is enabled).
     * 
     */
    CONFIGURATION_LOG_QUEUE_TIME_MINIMUM,

    /**
     * The average amount of time it takes to place the XML logging data onto the JMS queue (assuming logging is enabled).
     * 
     */
    CONFIGURATION_LOG_QUEUE_TIME_AVERAGE,

    /**
     * The maximum amount of time it takes to place the XML logging data onto the JMS queue (assuming logging is enabled).
     * 
     */
    CONFIGURATION_LOG_QUEUE_TIME_MAXIMUM,

    /**
     * The minimum amount of time it takes to create a log entry in XML format.
     * 
     */
    CONFIGURATION_LOG_SERIALIZE_TIME_MINIMUM,

    /**
     * The average amount of time it takes to create a log entry in XML format.
     * 
     */
    CONFIGURATION_LOG_SERIALIZE_TIME_AVERAGE,

    /**
     * The maximum amount of time it takes to create a log entry in XML format.
     * 
     */
    CONFIGURATION_LOG_SERIALIZE_TIME_MAXIMUM,

    /**
     * Smallest amount of time, measured in milliseconds, between the request for a score and the generation of the score.
     * 
     */
    CONFIGURATION_RESPONSE_TIME_MINIMUM,

    /**
     * Average amount of time, measured in milliseconds, between the request for a score and the generation of the score.
     * 
     */
    CONFIGURATION_RESPONSE_TIME_AVERAGE,

    /**
     * Largest amount of time, measured in milliseconds, between the request for a score and the generation of the score
     * 
     */
    CONFIGURATION_RESPONSE_TIME_MAXIMUM,

    /**
     * Total number of scores produced by a specific scoring configuration.
     * 
     */
    CONFIGURATION_TOTAL_SCORES,

    /**
     * Amount of time, measured in seconds, that the scoring configuration has been available for scoring.
     * 
     */
    CONFIGURATION_UPTIME;

    public String value() {
        return name();
    }

    public static WellKnownMetricIdType fromValue(String v) {
        return valueOf(v);
    }

}
